package com.zodiac.alioth.dal.mapper;

import com.zodiac.alioth.dal.model.MaoDemoDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zodiac
 */
public interface MaoDemoDOMapper {

    /**
     * 根据id删除
     *
     * @param id id
     * @return
     */
    int deleteByPrimaryKey(Long id);

    int insert(MaoDemoDO record);

    int insertSelective(MaoDemoDO record);

    MaoDemoDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MaoDemoDO record);

    int updateByPrimaryKey(MaoDemoDO record);

    List<MaoDemoDO> selectList(@Param("id") Long id, @Param("count") Long count);
}